import Vue from 'vue'
import Router from 'vue-router'
 let chind  = () => import("@/module/chind/chind")
let codle  = () => import("@/module/codle/codle")
let low  = () => import("@/module/low/low")
let lower  = () => import("@/module/lower/lower")
let mis  = () => import("@/module/mis/mis")
let index  = () => import("@/module/index/index")
let shou  = () => import("@/module/shou/shou")
let swiper  = () => import("@/components/swiper/swiper")
let boss  = () => import("@/components/Boss/boss")
let qousew  = () => import("@/components/qousew/qousew")
let lowe = () => import("@/components/lowe/lowe")
let lowss = () => import("@/components/lowe/lowss")
let list = () => import("@/components/list/list")
let shopp = () => import("@/module/shopping/shopping")


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/zhu',
      component:chind,
    },
    {
      path: '/lower',
      name:"lower",
      component:lower,
    },
    {
      path: '/low',
      component:low,
    },
    {
      path: '/mis',
      component:mis,
    },
    {
      path: '/codle',
      component:codle
    },
    {
      path: '/zhu/list/:id',
      component:list,
      name:"list",
    },
    {
      path: '/index',
      component:index
    },
    {
      path: '/shou',
      component:shou
    },
    {
      path: '/swiper',
      component:swiper
    },
    {
      path: '/boss',
      component:boss
    },
    {
      path: '/qousew',
      component:qousew
    },
    {
      path: '/lowe',
      component:lowe
    },
    {
      path:'/lowss',
      component:lowss,
    },
    {
      path:'/shopp',
      component:shopp,
    },
    {
      path: '/',
      redirect: '/zhu'
    },
  ]
})
